<div class="block">
  <div class="content">
    <div class="inner">
      <h2 class="title"><%= @user.nick_name %>宛てのフレンド登録依頼一覧</h2>
      <table class="table">
        <tr>
          <th>依頼者</th>
          <th>依頼日時</th>
        </tr>
        <% @friend_requests.each do |fr| %>
        <tr class="<%= cycle("odd", "even") %>">
          <td><%= link_to fr.request_user.nick_name,
                            edit_portal_friend_url(:id => fr.to_user_id,
                                                      :request_code => fr.secret_code) %></td>
          <td><%= fr.created_at %></td>
        </tr>
        <% end %>
      </table>
    </div>
  </div>
</div>
